home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / DrawP.h.z / DrawP.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  6.8 KB  |  210 lines

  1. /*
  2.  * DrawP.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: DrawP.h /main/cde1_maint/2 1995/08/18 19:00:28 drk $ */
  36. /*
  37. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  38. /*
  39. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  40. #ifndef _XmDrawP_h
  41. #define _XmDrawP_h
  42.  
  43. #include <Xm/XmP.h>
  44.  
  45. #ifdef __cplusplus
  46. extern "C" {
  47. #endif
  48.  
  49.  
  50. /********    Private Function Declarations    ********/
  51. #ifdef _NO_PROTO
  52.  
  53. extern void _XmDrawShadows() ;
  54. extern void _XmClearBorder() ;
  55. extern void _XmDrawSeparator() ;
  56. extern void _XmDrawDiamond() ;
  57. extern void _XmDrawHighlight() ;
  58. extern void _XmDrawSimpleHighlight() ;
  59. extern void _XmDrawArrow() ;
  60.  
  61. #else
  62.  
  63. extern void _XmDrawShadows( 
  64.                         Display *display,
  65.                         Drawable d,
  66.                         GC top_gc,
  67.                         GC bottom_gc,
  68. #if NeedWidePrototypes
  69.                         int x,
  70.                         int y,
  71.                         int width,
  72.                         int height,
  73.                         int shad_thick,
  74. #else
  75.                         Position x,
  76.                         Position y,
  77.                         Dimension width,
  78.                         Dimension height,
  79.                         Dimension shad_thick,
  80. #endif /* NeedWidePrototypes */
  81.                         unsigned int shad_type) ;
  82. extern void _XmClearBorder( 
  83.                         Display *display,
  84.                         Window w,
  85. #if NeedWidePrototypes
  86.                         int x,
  87.                         int y,
  88.                         int width,
  89.                         int height,
  90.                         int shadow_thick) ;
  91. #else
  92.                         Position x,
  93.                         Position y,
  94.                         Dimension width,
  95.                         Dimension height,
  96.                         Dimension shadow_thick) ;
  97. #endif /* NeedWidePrototypes */
  98. extern void _XmDrawSeparator( 
  99.                         Display *display,
  100.                         Drawable d,
  101.                         GC top_gc,
  102.                         GC bottom_gc,
  103.                         GC separator_gc,
  104. #if NeedWidePrototypes
  105.                         int x,
  106.                         int y,
  107.                         int width,
  108.                         int height,
  109.                         int shadow_thick,
  110.                         int margin,
  111.                         unsigned int orientation,
  112.                         unsigned int separator_type) ;
  113. #else
  114.                         Position x,
  115.                         Position y,
  116.                         Dimension width,
  117.                         Dimension height,
  118.                         Dimension shadow_thick,
  119.                         Dimension margin,
  120.                         unsigned char orientation,
  121.                         unsigned char separator_type) ;
  122. #endif /* NeedWidePrototypes */
  123. extern void _XmDrawDiamond( 
  124.                         Display *display,
  125.                         Drawable d,
  126.                         GC top_gc,
  127.                         GC bottom_gc,
  128.                         GC center_gc,
  129. #if NeedWidePrototypes
  130.                         int x,
  131.                         int y,
  132.                         int width,
  133.                         int height,
  134.                         int shadow_thick,
  135.                         int fill) ;
  136. #else
  137.                         Position x,
  138.                         Position y,
  139.                         Dimension width,
  140.                         Dimension height,
  141.                         Dimension shadow_thick,
  142.                         Dimension fill) ;
  143. #endif /* NeedWidePrototypes */
  144. extern void _XmDrawSimpleHighlight( 
  145.                         Display *display,
  146.                         Drawable d,
  147.                         GC gc,
  148. #if NeedWidePrototypes
  149.                         int x,
  150.                         int y,
  151.                         int width,
  152.                         int height,
  153.                         int highlight_thick);
  154. #else
  155.                         Position x,
  156.                         Position y,
  157.                         Dimension width,
  158.                         Dimension height,
  159.                         Dimension highlight_thick);
  160. #endif /* NeedWidePrototypes */
  161. extern void _XmDrawHighlight( 
  162.                         Display *display,
  163.                         Drawable d,
  164.                         GC gc,
  165. #if NeedWidePrototypes
  166.                         int x,
  167.                         int y,
  168.                         int width,
  169.                         int height,
  170.                         int highlight_thick,
  171. #else
  172.                         Position x,
  173.                         Position y,
  174.                         Dimension width,
  175.                         Dimension height,
  176.                         Dimension highlight_thick,
  177. #endif /* NeedWidePrototypes */
  178.                         int line_style) ;
  179. extern void _XmDrawArrow( 
  180.                         Display *display,
  181.                         Drawable d,
  182.                         GC top_gc,
  183.                         GC bot_gc,
  184.                         GC cent_gc,
  185. #if NeedWidePrototypes
  186.                         int x,
  187.                         int y,
  188.                         int width,
  189.                         int height,
  190.                         int shadow_thick,
  191.                         unsigned int direction) ;
  192. #else
  193.                         Position x,
  194.                         Position y,
  195.                         Dimension width,
  196.                         Dimension height,
  197.                         Dimension shadow_thick,
  198.                         unsigned char direction) ;
  199. #endif /* NeedWidePrototypes */
  200.  
  201. #endif /* _NO_PROTO */
  202. /********    End Private Function Declarations    ********/
  203.  
  204.  
  205. #if defined(__cplusplus) || defined(c_plusplus)
  206. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  207. #endif
  208.  
  209. #endif /* _XmDrawP_h */
  210.